package com.angel.provider.health.impl;


import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.angel.core.base.BaseProviderImpl;
import com.angel.dao.health.BuzExaminationMapper;
import com.angel.health.Archives;
import com.angel.health.BuzExamination;
import com.angel.health.ln.ChartMap;
import com.angel.provider.health.BuzExaminationProvider;

@Service
public class BuzExaminationProviderImpl extends BaseProviderImpl<BuzExamination> implements BuzExaminationProvider {

	@Autowired
	private BuzExaminationMapper mapper;
	
	public BuzExamination findById(Integer id) {
		return mapper.selectByPrimaryKey(id);
	}

	@Override
	public List<Archives> findExamForApp(String customerId) {
		// TODO Auto-generated method stub
		return mapper.findExamForApp(customerId);
	}

	@Override
	public int delAll(String ids) {
		// TODO Auto-generated method stub
		return mapper.delAll(ids);
	}
	@Override
	public int insert(BuzExamination record) {
		return super.insert(record);
	}

	@Override
	public List<ChartMap> loadChart() {
		// TODO Auto-generated method stub
		return mapper.loadChart();
	}
}
